﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<DomainModel.Entities.Artist>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Details</h2>
    <fieldset>
        <legend>Artist</legend>        
             <div class="editor-label">
            <%: Html.Label("") %>
        </div>
        <div class="editor-field">
            <%= Html.Image(Model.LargePicture, new { width="320", height="460" })%>
        </div>      

        <div class="display-label">
            Artist Name</div>
        <div class="display-field">
            <%: Model.ArtistName %></div>
        <div class="display-label">
            Artist Desc</div>
        <div class="display-field">
            <%: Model.ArtistDesc %></div>
    </fieldset>     
    <p>
        <%: Html.ActionLink("Edit", "Edit", new { id=Model.ArtistID }) %>      
        |
        <%: Html.ActionLink("Back to List", "Index") %>
        
    </p>

    <% Html.RenderPartial("AlbumsUserControl", Model.Albums); %>
</asp:Content>
